package com.springcloud.sc.ucp.v5.api.mongo.ucpdb;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "public_sms_status")
public class PublicSmsStatus  implements Serializable {

    private static final long serialVersionUID = -7898194272883338670L;

    private String uuid; // 任务关键ID
    private String from; // 发布方方
    private String mobile; // 接收方
    private String taskID; // 发布短信的网关标识
    private String status; // 接受状态  10 表示成 20 表示失败
    private String sendtime; // 发送时间
    private String receivetime; // 接受时间
    private String msgContent; // 发布内容
    private String index; // 发布内容拆分项

    @Override
    public String toString() {
        return "PublicSmsStatus{" +
                "uuid='" + uuid + '\'' +
                ", from='" + from + '\'' +
                ", mobile='" + mobile + '\'' +
                ", taskID='" + taskID + '\'' +
                ", status='" + status + '\'' +
                ", sendtime='" + sendtime + '\'' +
                ", receivetime='" + receivetime + '\'' +
                ", msgContent='" + msgContent + '\'' +
                ", index='" + index + '\'' +
                '}';
    }
}


